package com.lzy.webapi.request;

import java.io.Serializable;

/**
 * Description:
 * Author: ellengou
 * Version: 1.0
 * Create Date Time: 2017/4/1 下午4:05.
 * Update Date Time:
 *
 * @see 'http://lzyhll.com'
 */
public class BaseRequest implements Serializable {
    private static final long serialVersionUID = 3165554593918109657L;

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public int getBegin() {
        return begin;
    }

    public void setBegin(int begin) {
        this.begin = begin;
    }

    private int rows;
    private int begin;
    private Integer pageNum = 1;
    private Integer pageSize = 10;
    /**
     * 搜索参数
     */
    private String key;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Integer getPageNum() {
        return this.pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return this.pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
